﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administracion/Administracion.Master" AutoEventWireup="true" CodeBehind="frmAministracionProductos.aspx.cs" Inherits="ProyectoIngenieriaSoftware.Administracion.Formulario_web11" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .style1
    {
        width: 100%;
    }
    .style2
    {
        text-align: center;
    }
    .style3
    {
        height: 32px;
    }
        .style4
        {
            font-size: large;
            color: #FFFFFF;
        }
        .style5
        {
            font-weight: bold;
            text-align: left;
        }
        .style10
    {
        width: 261px;
    }
    .style11
    {
        text-align: right;
        color: #000000;
        width: 433px;
    }
    .style12
    {
        font-weight: bold;
        text-align: left;
        width: 218px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager2" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanelPrincipal" runat="server">
    <ContentTemplate>
        <asp:UpdatePanel ID="UpdatePanelPrincipal0" runat="server">
            <ContentTemplate>
                <table class="style1">
                    <tr>
                        <td class="style3">
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                <ContentTemplate>
                                    <h1 class="style2">
                                        <asp:Label ID="lblTitulo" runat="server" Text="Administración de Producto"></asp:Label>
                                    </h1>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:UpdatePanel ID="UpdatePanelCampos" runat="server">
                                <ContentTemplate>
                                    <table class="style1">
                                        <tr class="style4">
                                            <td class="style11">
                                                Codigo</td>
                                            <td class="style12">
                                                <asp:TextBox ID="txtCodigo" runat="server" Height="20px" Width="204px" 
                                                    AutoPostBack="True"></asp:TextBox>
                                                <asp:TextBoxWatermarkExtender ID="txtCodigo_TextBoxWatermarkExtender" 
                                                    runat="server" TargetControlID="txtCodigo" WatermarkText="Digité Codigo">
                                                </asp:TextBoxWatermarkExtender>
                                                <asp:FilteredTextBoxExtender ID="txtCodigo_FilteredTextBoxExtender" 
                                                    runat="server" FilterType="Numbers" TargetControlID="txtCodigo">
                                                </asp:FilteredTextBoxExtender>
                                            </td>
                                            <td class="style5">
                                                <asp:Button ID="btnBuscar" runat="server" Enabled="False" Text="Buscar" 
                                                    onclick="btnBuscar_Click" />
                                            </td>
                                        </tr>
                                        <tr class="style4">
                                            <td class="style11">
                                                Nombre</td>
                                            <td class="style12">
                                                <asp:TextBox ID="txtNombre" runat="server" Height="20px" Width="198px" 
                                                    AutoPostBack="True"></asp:TextBox>
                                                <asp:TextBoxWatermarkExtender ID="txtNombre_TextBoxWatermarkExtender" 
                                                    runat="server" TargetControlID="txtNombre" WatermarkText="Digite nombre">
                                                </asp:TextBoxWatermarkExtender>
                                            </td>
                                            <td class="style5">
                                                &nbsp;</td>
                                        </tr>
                                        <tr class="style4">
                                            <td class="style11">
                                                Valor&nbsp; unitario</td>
                                            <td class="style12">
                                                <asp:TextBox ID="txtValor" runat="server" Height="23px" Width="195px"></asp:TextBox>
                                                <asp:FilteredTextBoxExtender ID="txtValor_FilteredTextBoxExtender" 
                                                    runat="server" TargetControlID="txtValor" FilterType="Numbers">
                                                </asp:FilteredTextBoxExtender>
                                                <asp:TextBoxWatermarkExtender ID="txtValor_TextBoxWatermarkExtender" 
                                                    runat="server" TargetControlID="txtValor" WatermarkText="Digité valor unitario">
                                                </asp:TextBoxWatermarkExtender>
                                            </td>
                                            <td class="style5">
                                                &nbsp;</td>
                                        </tr>
                                        <tr class="style4">
                                            <td class="style11">
                                                Tipo producto</td>
                                            <td class="style12">
                                                <asp:DropDownList ID="cbiTipoProd" runat="server" Height="16px" Width="201px">
                                                </asp:DropDownList>
                                            </td>
                                            <td class="style5">
                                                &nbsp;</td>
                                        </tr>
                                        <tr class="style4">
                                            <td class="style11">
                                                Estado</td>
                                            <td class="style12">
                                                <asp:DropDownList ID="cboEstado" runat="server" Height="16px" Width="200px">
                                                </asp:DropDownList>
                                            </td>
                                            <td class="style5">
                                                &nbsp;</td>
                                        </tr>
                                    </table>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:UpdatePanel ID="UpdatePanelBotones" runat="server">
                                <ContentTemplate>
                                    <table class="style1">
                                        <tr>
                                            <td>
                                                &nbsp;</td>
                                            <td class="style10">
                                                <asp:Menu ID="MnuOpciones" runat="server" 
                                                    onmenuitemclick="MnuOpciones_MenuItemClick" Orientation="Horizontal">
                                                    <Items>
                                                        <asp:MenuItem Text="Agregar" Value="opcAgregar"></asp:MenuItem>
                                                        <asp:MenuItem Text="Actualizar" Value="OpcModificar"></asp:MenuItem>
                                                        <asp:MenuItem Text="Buscar" Value="opcBuscar"></asp:MenuItem>
                                                        <asp:MenuItem Text="Guardar" Value="opcGrabar"></asp:MenuItem>
                                                        <asp:MenuItem Text="Cancelar" Value="opcCancelar"></asp:MenuItem>
                                                    </Items>
                                                </asp:Menu>
                                            </td>
                                            <td>
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td>
                                                &nbsp;</td>
                                            <td class="style10">
                                                &nbsp;</td>
                                            <td>
                                                &nbsp;</td>
                                        </tr>
                                    </table>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                </table>
                <table class="style1">
                    <tr>
                        <td class="style2">
                            <asp:Label ID="lblMsj" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
<br />
            </ContentTemplate>
        </asp:UpdatePanel>
    </ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
